package com.lzq.springbook.adapter;

import org.apache.logging.log4j.message.Message;

public class Slf4jLog4jAdapter implements Slf4jApi{
    private Log4j log4j;

    public Slf4jLog4jAdapter(Log4j log4j) {
        this.log4j = log4j;
    }

    @Override
     public void log(Message message) {
        log4j.log4jLog(message);
    }
}
